/**
 * Project hdmap
 * @author shengjialiang
 * @version v1.0
 */

#ifndef _GLOBESETTING_H
#define _GLOBESETTING_H

#include "map_common/CommonConfig.h"
#include "OpenThreads/Mutex"

namespace Common
{
	class MAP_COMMON_EXPORTS CGlobeSetting
    {
    public:
        CGlobeSetting();

        virtual ~CGlobeSetting();

        static bool pushPtr(const std::string& in_key, void* pRefData);

        static void* getPtr(const std::string& in_key);
    public:
        static std::map<std::string, std::string> ConfigStr;
        static std::map<std::string, double> ConfigNum;
        static std::map<std::string, void*> ConfigPtr;
    };    
}
#endif //_GLOBESETTING_H